package learning.xml.jaxb;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "MusicalStyle")
// If you want you can define the order in which the fields are written
// Optional
@XmlType(propOrder = { "name", "count", "pitch", "volume", "duration", "onsets", "chordRoots", "chordQualities", "chordDurations"})
public class Artist {

	private String name;
	private int[][] pitch;
	private int[][] volume;
	private int[][] duration;
	private int[][] onsets;
	private int[] chordRoots;
	private int[] chordQualities;
	private int[] chordDurations;
	private int count;

	@XmlElement(name = "musicianName")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public int[][] getPitch() {
		return pitch;
	}
	
	public void setPitch(int[][] pitch) {
		this.pitch = pitch;
	}
	
	public int[][] getVolume() {
		return volume;
	}
	
	public void setVolume(int[][] volume) {
		this.volume = volume;
	}

	
	public int[][] getDuration() {
		return duration;
	}

	public void setDuration(int[][] duration) {
		this.duration = duration;
	}
	
	public int[][] getOnsets() {
		return onsets;
	}

	public void setOnsets(int[][] onsets) {
		this.onsets = onsets;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	
	public int[] getChordRoots() {
		return chordRoots;
	}

	public int[] getChordQualities() {
		return chordQualities;
	}

	public int[] getChordDurations() {
		return chordDurations;
	}

	public void setChordRoots(int[] chordRoots) {
		this.chordRoots = chordRoots;
	}

	public void setChordQualities(int[] chordQualities) {
		this.chordQualities = chordQualities;
	}


	public void setChordDurations(int[] durations) {
		this.chordDurations = durations;
	}
}

			